import {sum} from './js/math';
import { createApp } from 'vue/dist/vue.esm-bundler';
const {priceFormat} = require('./js/format')

import axios from 'axios';

import App from "./vue/App.vue"

import './js/element';

if(module.hot) {
    module.hot.accept('./js/element.js', () => {
        console.log("模块发生更新了");
    })
}


console.log(sum(20, 30));
console.log(priceFormat());

// Vue代码
// const app = createApp({
//     template: "#my-app",
//     data() {
//         return {
//             title: 'hello'
//         }
//     }
// })

const app = createApp(App);
app.mount("#app");

// axios.get("localhost: 8000")